package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.SjzdXmxxBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface SjzdXmxxService extends BaseService<SjzdXmxxBean> {

	SjzdXmxxBean getSjzdXmxxBeanById(String id) throws Exception;
	
	void removeSjzdXmxxBeanById(String id) throws Exception;
	
	void removeSjzdXmxxBeanByIds(String ids) throws Exception;
	
	SjzdXmxxBean saveSjzdXmxxBean(SjzdXmxxBean crm) throws Exception;
	
	SjzdXmxxBean updateSjzdXmxxBean(SjzdXmxxBean crm) throws Exception;
	
	Page<SjzdXmxxBean>  findSjzdXmxxBeanByCond(SjzdXmxxBean bean,
			Page<SjzdXmxxBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveSjzdXmxxBeanExt(String sql) throws Exception;

	String findSjzdXmxxBeanExtCreate(String tableName) throws Exception;

	String findSjzdXmxxBeanExtEdit(String tableName, String id)
			throws Exception;

	String findSjzdXmxxBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasSjzdXmxxBeanExtData(String tableName, String id)
			throws Exception;
}